
export const AccountService = {
    login(val){
        return $axios.post('/v1/account/login', val)
    },
    register(val){
        return $axios.post('/v1/account/register', val)
    },
    update(val){
        return $axios.put('/v1/account/update', val)
    },
    logout(){
        return $axios.get('/v1/account/logout')
    },
    getUserInfo(){
        return $axios.get('/v1/account/userinfo')
    },
}
